﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 小次郎点餐系统.admin
{
    public partial class adminMainForm : Form
    {
        public adminMainForm()
        {
            InitializeComponent();
        }

        private void adminMainForm_Load(object sender, EventArgs e)
        {
            this.timer1.Start();
        }

        private void pictureBox_menu_Click(object sender, EventArgs e)
        {
            adminmenuForm form = new adminmenuForm();
            form.MdiParent = this;
            form.Show();
        }

        private void pictureBox_package_Click(object sender, EventArgs e)
        {
            adminpackage form = new adminpackage();
            form.MdiParent = this;
            form.Show();
        }

        private void pictureBox_order_Click(object sender, EventArgs e)
        {
            orderForm form = new orderForm();
            form.MdiParent = this;
            form.Show();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            this.toolStripStatusLabel1.Text = DateTime.Now.ToString("yyyy年MM月dd日 H:mm:ss");
        }
    }
}
